//
//  GrowingTextViewController.h
//  etionUI
//
//  Created by wangjian on 5/27/13.
//
//

@class CGrowingTextViewController;
@protocol CGrowingTextViewControllerDelegate <NSObject>

- (void)growingTextViewController:(CGrowingTextViewController *)controller didEndEdit:(NSString *)szText;
- (void)growingTextViewControllerCancelEdit:(CGrowingTextViewController *)controller;

@end 

@interface CGrowingTextViewController : UIViewController <HPGrowingTextViewDelegate>

- (id)initWithFrame:(CGRect)frame text:(NSString *)szText delegate:(id <CGrowingTextViewControllerDelegate>)delegate;
- (void)begainEdit;
- (void)endEditComplete:(void (^)())complete;

@end
